import {
	MAP_POINT_INFO
} from '../mutation_types'

const state = {
	point_info: {}, // 点位信息
}

const mutations = {
	// 是否登录 
	[MAP_POINT_INFO]: (state, value) => {
		state.point_info = value
	}
}

const actions = {
	async set_point_info({
		commit
	}, value) {
		commit(MAP_POINT_INFO, value)
	}
}

export default {
	state,
	mutations,
	actions
}
